bim-modal
Modal dialog with header, slot content, and confirm/cancel actions.
Basic
label + icon
Are you sure you want to proceed?
no header
Custom button labels
confirm-label / cancel-label
This action cannot be undone. The file will be permanently removed.
Rich slot content
file conflict
The following files already exist in this project. Choose how to handle them:
column.ifc
Structures / Models
report.pdf
Documentation
Async confirm
loading state
Waiting…
This will upload the file to the server. The modal stays open until the operation completes.
Events
confirm / cancel
Waiting…
Click Confirm or Cancel (or press Escape) and watch the event output.
CSS Custom Properties
--bim-modal--bg
This modal uses a custom --bim-modal--bg color.